/* -------------------------------------------------------------------------- *
   TestWinUnit - Maria Blees (maria.blees@microsoft.com)

   File: InspectableFileEnumerator.h
   This file/class exists to make protected members of FileEnumerator
   available for tests.
 * -------------------------------------------------------------------------- */
#pragma once

#include "FileEnumerator.h"
#include "MockLogger.h"

namespace WinUnitLib
{
    class Logger;
}

class InspectableFileEnumerator :
    public WinUnitLib::FileEnumerator
{
private:
    MockLogger _mockLogger;

public:
    InspectableFileEnumerator(const wchar_t* startingDirectory);
    HANDLE GetHandle();

    __declspec (property (get=GetLogger))
    MockLogger& Logger;
    MockLogger& GetLogger() { return _mockLogger; }
};
